#pragma once
#include "TableNode.h"
typedef int INTEGER;
typedef int INDEX;
typedef string STRING;
typedef bool BOOLEAN;

using namespace std;

class ConstTable {
private:
	vector<int> _table;
	INTEGER _size;
public:
	ConstTable();
	INDEX insertCon(int constant);
	INTEGER getSize();
	int getConstant(INDEX index);
	INDEX getConIndex(int constant);
	BOOLEAN hasCon(int constant);
};